\documentclass{article}
\usepackage{graphicx}

\begin{document}

% Compile using pdflatex to get the "unknown extension" error.  Otherwise you
% get missing file error.
\includegraphics{badextension.epp}

\end{document}
